/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package cz.vutbr.fit.xzemko01.tfmcbs.model;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Port</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getComponent <em>Component</em>}</li>
 *   <li>{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getName <em>Name</em>}</li>
 *   <li>{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getAccessibility <em>Accessibility</em>}</li>
 *   <li>{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getDelegate <em>Delegate</em>}</li>
 * </ul>
 * </p>
 *
 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.meta.TfmcbsPackage#getPort()
 * @model abstract="true"
 * @generated
 */
public interface Port extends EObject {
	/**
	 * Returns the value of the '<em><b>Component</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link cz.vutbr.fit.xzemko01.tfmcbs.model.CompositeComponent#getPorts <em>Ports</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Component</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Component</em>' container reference.
	 * @see #setComponent(CompositeComponent)
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.meta.TfmcbsPackage#getPort_Component()
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.CompositeComponent#getPorts
	 * @model opposite="ports" required="true" transient="false" ordered="false"
	 * @generated
	 */
	CompositeComponent getComponent();

	/**
	 * Sets the value of the '{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getComponent <em>Component</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Component</em>' container reference.
	 * @see #getComponent()
	 * @generated
	 */
	void setComponent(CompositeComponent value);

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.meta.TfmcbsPackage#getPort_Name()
	 * @model ordered="false"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Accessibility</b></em>' attribute.
	 * The default value is <code>"PUBLIC"</code>.
	 * The literals are from the enumeration {@link cz.vutbr.fit.xzemko01.tfmcbs.model.EPortAccessibility}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Accessibility</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Accessibility</em>' attribute.
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.EPortAccessibility
	 * @see #setAccessibility(EPortAccessibility)
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.meta.TfmcbsPackage#getPort_Accessibility()
	 * @model default="PUBLIC" ordered="false"
	 * @generated
	 */
	EPortAccessibility getAccessibility();

	/**
	 * Sets the value of the '{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getAccessibility <em>Accessibility</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Accessibility</em>' attribute.
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.EPortAccessibility
	 * @see #getAccessibility()
	 * @generated
	 */
	void setAccessibility(EPortAccessibility value);

	/**
	 * Returns the value of the '<em><b>Delegate</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Delegate#getPort <em>Port</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Delegate</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Delegate</em>' reference.
	 * @see #setDelegate(Delegate)
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.meta.TfmcbsPackage#getPort_Delegate()
	 * @see cz.vutbr.fit.xzemko01.tfmcbs.model.Delegate#getPort
	 * @model opposite="port"
	 * @generated
	 */
	Delegate getDelegate();

	/**
	 * Sets the value of the '{@link cz.vutbr.fit.xzemko01.tfmcbs.model.Port#getDelegate <em>Delegate</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Delegate</em>' reference.
	 * @see #getDelegate()
	 * @generated
	 */
	void setDelegate(Delegate value);

} // Port
